package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PrizeDrawActivityRewardsEnum;
import com.sc.nft.enums.PrizeDrawActivitySettleStatisEnum;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 抽奖活动结算记录表(sc_prize_draw_activity_settle_records)实体类
 *
 * @author Sun
 * @since 2023-09-14 11:32:52
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_prize_draw_activity_settle_records")
public class PrizeDrawActivitySettleRecords extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 活动类型 : 1:瓜分活动 2:竞猜活动
     */
    private PrizeDrawActivityTypeEnum activityType;
    /**
     * 中奖金额
     */
    private BigDecimal amount;
    /**
     * 奖励明细
     */
    private String rewards;
    /**
     * 奖励id(中奖活动)
     */
    private Long linkRewardsId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户id
     */
    private Long userRecordsId;
    /**
     * 中奖号码
     */
    private String lotteryDrawResultVar;
    /**
     * 中奖号码
     */
    private String userLotteryDrawResult;
    /**
     * 手机号码
     */
    private String userTel;
    /**
     * 身份证名称
     */
    private String name;
    /**
     * 中奖类型(瓜分活动)
     */
    private PrizeDrawActivityRewardsEnum type;
    /**
     * 中奖类型(竞猜活动)
     */
    private Integer guessType;
    /**
     * 中奖类型名称(一等奖,二等奖)
     */
    private String typeName;
    /**
     * 奖励发放状态 :1未发放 2:已拦截 3:已发放
     */
    private PrizeDrawActivitySettleStatisEnum status;
    /**
     * 是否结算 0:未结算 1:已结算
     */
    private Boolean isSettle;

}